using System;

namespace RegularExpression
{
    public class MatchPosition
    {
        public MatchPosition(int index, int length)
        {
            this._index = index;
            this._length = length;
        }

        private int _index;

        public int Index
        {
            get { return _index; }
            set { _index = value; }
        }

        private int _length;

        public int Length
        {
            get { return _length; }
            set { _length = value; }
        }
    }
}